


<?php echo $header; ?>
<div class="col1 float_left brsolid">
  <div class="col1_content p20r p15t">
    <p class="tt1 whitetext"><?php echo $heading_title; ?></p>
    <div class="regis p30t float_left" style="padding-right:50px; vertical-align:middle" ><p>&nbsp;</p><img src="catalog/view/theme/w4u/img/change.png" align="absmiddle"/> </div>
    <div id="myaccount" class="regis p30t float_left" style="padding-left:30px;">
      <?php if ($success) { ?>
      <div class="success"><?php echo $success; ?></div>
      <?php } ?>
	   <?php if ($error_warning) { ?>
      <div class="error"><?php echo $error_warning; ?></div>
      <?php } ?>
      <p><b><?php echo $text_address_book; ?></b></p>
      <ul>
	   <?php foreach ($addresses as $result) { ?>

<li><table width="450px">
<tr><td width="60%">
		<?php echo $result['address']; ?></td><td  width="40%">
<a style="color:#FF9900; text-decoration:underline" onclick="location = '<?php echo str_replace('&', '&amp;', $result['update']); ?>'" class="button"><span><?php echo $button_edit; ?></span></a>&nbsp;<a onclick="location = '<?php echo str_replace('&', '&amp;', $result['delete']); ?>'" style="color:#FF9900; text-decoration:underline" class="button"><span><?php echo $button_delete; ?></span></a></td></tr></table>
</li>
		<?php } ?>
      </ul>
	  <label class="w110">&nbsp;</label>
          <a  class="button" onclick="location = '<?php echo str_replace('&', '&amp;', $back); ?>'" ><img src="catalog/view/theme/w4u/img/back_but.png" alt="" /></a> <a onclick="location = '<?php echo str_replace('&', '&amp;', $insert); ?>'" class="button" ><img src="catalog/view/theme/w4u/img/newaddress_but.png" alt="" /></a><p>&nbsp;</p></div>
<br />	  
    </div>
  </div>
</div> 
<?php echo $column_right; ?><?php echo $footer; ?> 